package com.zlm.design.observer;

/**
 * @author zlm
 * @date 2025/5/23
 */
public abstract class BaseEvent implements Event {

    private final long timestamp;

    protected BaseEvent() {
        this.timestamp = System.currentTimeMillis();
    }

    @Override
    public long timestamp() {
        return timestamp;
    }

}
